package com.peng.spring.eg2;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @Author peng
 * @Date 2024-04-16 16:45
 */
@Component
public class CommentMapper {
    @Autowired
    @Qualifier(value = "mapper2")
    private Mapper mapper;

    @Override
    public String toString() {
        return "CommentMapper{" +
                "mapper=" + mapper +
                '}';
    }
}
